package net.zjitc.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import net.zjitc.domain.PageResult;
import net.zjitc.domain.User;

import java.util.List;

public interface UserService {
    public void add(User user);

    public void deleteById(Integer id);

    public void update(User user);

    public User findById(Integer id);

    public PageResult findPage(int currentPage, int pageSize, User user);
}
